var User = pi.base.extend({
  "$Init":function(_id,_name,_location,_isRegistered,_gamesPlayed,_gamesWon,_time){
    return this.
    environment.setId(_id).
    environment.setName(_name).
    environment.setLocation(_location).
    environment.setIsRegistered(_isRegistered).
    environment.setGamesPlayed(_gamesPlayed).
    environment.setGamesWon(_gamesWon).
    environment.setTime(_time);
  },
  "environment":{
    "_color":0, "_gamesPlayed":0, "_gamesWon":0, "_id":0, "_isRegistered":false, "_key":"", "_location":"", "_name":"",
    '_time':0
  }
});
